package org.apache.solr.search.grouping.distributed.command;

/**
 * A simple data structure to hold a pair of typed objects.
 *
 * @lucene.experimental
 */
public class Pair<A, B> {

    private final A a;
    private final B b;

    public Pair(A a, B b) {
        this.a = a;
        this.b = b;
    }

    public A getA() {
        return a;
    }

    public B getB() {
        return b;
    }
}
